home *** CD-ROM | disk | FTP | other *** search
- Path: lade.news.pipex.net!pipex!bt!usenet
- From: Alwyn Thomas <alwyn@pia.bt.co.uk>
- Newsgroups: comp.lang.c,gnu.gcc.help,comp.unix.programmer
- Subject: Re: Help for using bcopy function
- Date: Fri, 01 Mar 1996 17:10:16 +0000
- Organization: BT Labs, Martlesham Heath, Ipswich, UK
- Message-ID: <31372F78.167EB0E7@pia.bt.co.uk>
- References: <4gl53u$4bv@kocrsv08.delcoelect.com> <ELIAS.96Feb27144032@cepheus.omicron.se>
- NNTP-Posting-Host: 147.150.9.53
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (X11; I; SunOS 4.1.3_U1 sun4c)
-
- Elias Martenson wrote:
-
- > bcopy() is not standard AFAIK. Use memcpy instead.
-
-
- It's certainly standard on SunOS.
-
- What the enquirer needs to do is to add the line:
-
- extern bcopy();
-
- at the top of every source file in which bcopy() is called.
-
- If you are using g++ you should put:
-
- extern "C" void bcopy(char*, char*);
-
- instead.
-
-
- Alwyn
-